// vite.config.ts
import { defineConfig } from "file:///G:/workplace/%E6%9D%AD%E7%A0%94%E9%A1%B9%E7%9B%AE/%E5%93%81%E4%BC%98%E5%8A%9B/pyl-air/node_modules/vite/dist/node/index.js";
import react from "file:///G:/workplace/%E6%9D%AD%E7%A0%94%E9%A1%B9%E7%9B%AE/%E5%93%81%E4%BC%98%E5%8A%9B/pyl-air/node_modules/@vitejs/plugin-react/dist/index.mjs";
import path from "path";
import { createSvgIconsPlugin } from "file:///G:/workplace/%E6%9D%AD%E7%A0%94%E9%A1%B9%E7%9B%AE/%E5%93%81%E4%BC%98%E5%8A%9B/pyl-air/node_modules/vite-plugin-svg-icons/dist/index.mjs";
import legacy from "file:///G:/workplace/%E6%9D%AD%E7%A0%94%E9%A1%B9%E7%9B%AE/%E5%93%81%E4%BC%98%E5%8A%9B/pyl-air/node_modules/@vitejs/plugin-legacy/dist/index.mjs";
var __vite_injected_original_dirname = "G:\\workplace\\\u676D\u7814\u9879\u76EE\\\u54C1\u4F18\u529B\\pyl-air";
var vite_config_default = defineConfig({
  base: "./",
  plugins: [
    react(),
    createSvgIconsPlugin({
      // 指定需要缓存的图标文件夹
      iconDirs: [path.resolve(process.cwd(), "src/assets/icons")],
      // 指定项目内图标路径
      // 指定symbolId格式
      symbolId: "icon-[dir]-[name]"
    }),
    legacy({
      targets: ["defaults", "not IE 11"]
    })
  ],
  resolve: {
    alias: [{ find: "@", replacement: path.resolve(__vite_injected_original_dirname, "src") }]
  },
  build: {
    target: ["es2015", "chrome63"]
  },
  server: {
    host: "0.0.0.0"
    // Network: use --host to expose 可以让Network访问
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJHOlxcXFx3b3JrcGxhY2VcXFxc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